import Router from 'koa-router';
import apiRouter from './api/index';

const router = new Router();

// 后台接口
router.use('/api', apiRouter.routes(), apiRouter.allowedMethods());

export default router;